From: Florian Müllner Date: Fri, 10 Apr 2015 11:16:20 +0000 (+0200) Subject: calendar: Allow to dismiss resident notifications X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1383 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7277744dc062c2cb40ce23491af9527aedd6947c;p=gnome-shell.git calendar: Allow to dismiss resident notifications Resident notifications are not really a thing anymore with the new design, so all the user sees are some notifications that mysteriously cannot be closed. That's utterly confusing, stop doing that. https://bugzilla.gnome.org/show_bug.cgi?id=746860 --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 38263e56e..b571e4c6b 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1252,10 +1252,6 @@ const NotificationMessage = new Lang.Class({ this.setUseBodyMarkup(n.bannerBodyMarkup); }, - canClose: function() { - return !this.notification.resident; - }, - _onClicked: function() { this.notification.activate(); },